#include "Message_Kill_Revive.h"
#include <iostream>

Message_Kill_Revive::Message_Kill_Revive(int original_source_id, int current_source_id,int current_target_id, int target_id, int action, int worker_id)
		: Message(original_source_id, current_source_id, current_target_id, target_id), _action(action), _worker_id(worker_id) {

}

Message_Kill_Revive::~Message_Kill_Revive() {
}

void Message_Kill_Revive::print()
{
	Message::print();
	switch ( _action )
	{
		case KILL:		cout << "   action           : kill" << endl;	break;
		case REVIVE:	cout << "   action           : revive" << endl;	break;
	}
}
